Optimal. Leaf size=45 \[ -\frac {\cos (e+f x) (c-c \sin (e+f x))^{7/2}}{4 c f \sqrt {a \sin (e+f x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.31, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2841, 2738} \[ -\frac {\cos (e+f x) (c-c \sin (e+f x))^{7/2}}{4 c f \sqrt {a \sin (e+f x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2738
Rule 2841
Rubi steps
\begin {align*} \int \frac {\cos ^2(e+f x) (c-c \sin (e+f x))^{5/2}}{\sqrt {a+a \sin (e+f x)}} \, dx &=\frac {\int \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{7/2} \, dx}{a c}\\ &=-\frac {\cos (e+f x) (c-c \sin (e+f x))^{7/2}}{4 c f \sqrt {a+a \sin (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.90, size = 134, normalized size = 2.98 \[ \frac {c^2 (\sin (e+f x)-1)^2 \sqrt {c-c \sin (e+f x)} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right ) (56 \sin (e+f x)-8 \sin (3 (e+f x))+28 \cos (2 (e+f x))-\cos (4 (e+f x)))}{32 f \sqrt {a (\sin (e+f x)+1)} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.45, size = 98, normalized size = 2.18 \[ -\frac {{\left (c^{2} \cos \left (f x + e\right )^{4} - 8 \, c^{2} \cos \left (f x + e\right )^{2} + 7 \, c^{2} + 4 \, {\left (c^{2} \cos \left (f x + e\right )^{2} - 2 \, c^{2}\right )} \sin \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{4 \, a f \cos \left (f x + e\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.38, size = 195, normalized size = 4.33 \[ \frac {\sin \left (f x +e \right ) \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {5}{2}} \left (\sin \left (f x +e \right ) \left (\cos ^{3}\left (f x +e \right )\right )+\cos ^{4}\left (f x +e \right )+3 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-4 \left (\cos ^{3}\left (f x +e \right )\right )-7 \sin \left (f x +e \right ) \cos \left (f x +e \right )-4 \left (\cos ^{2}\left (f x +e \right )\right )-\sin \left (f x +e \right )+8 \cos \left (f x +e \right )-1\right )}{4 f \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, \left (\left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )+\cos ^{3}\left (f x +e \right )+2 \sin \left (f x +e \right ) \cos \left (f x +e \right )-3 \left (\cos ^{2}\left (f x +e \right )\right )-4 \sin \left (f x +e \right )-2 \cos \left (f x +e \right )+4\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {5}{2}} \cos \left (f x + e\right )^{2}}{\sqrt {a \sin \left (f x + e\right ) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.00, size = 96, normalized size = 2.13 \[ -\frac {c^2\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (28\,\cos \left (e+f\,x\right )+27\,\cos \left (3\,e+3\,f\,x\right )-\cos \left (5\,e+5\,f\,x\right )+48\,\sin \left (2\,e+2\,f\,x\right )-8\,\sin \left (4\,e+4\,f\,x\right )\right )}{64\,f\,\sqrt {a\,\left (\sin \left (e+f\,x\right )+1\right )}\,\left (\sin \left (e+f\,x\right )-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________